package agend.client.utils;

import jade.core.AID;

public class GetAID {

	public static final String PLATFORM_NAME = "@ServerPlatform";
	
	public static final String AMS_NAME = "ams@ServerPlatform";
	public static final String DF_NAME = "df@ServerPlatform";
	
	public static final String REGISTRATION_NAME = "registration@ServerPlatform";
	
	public static final String URL = "http://192.168.1.12:7778/acc";
//	public static final String URLRINO = "http://Rino-Laptop:7778/acc";
//	public static final String URLDANILO = "http://192.168.1.11:7778/acc";
	
	public static AID ams()
	{
		AID aid = new AID();
		
		aid.setName(AMS_NAME);
		aid.addAddresses(URL);
		
		return aid;
	}
	
	public static AID df()
	{
		AID aid = new AID();
		
		aid.setName(DF_NAME);
		aid.addAddresses(URL);
		
		return aid;
	}
	
	public static AID registration()
	{
		AID aid = new AID();
		
		aid.setName(REGISTRATION_NAME);
		aid.addAddresses(URL);
		
		return aid;
	}
	
	public static AID aid(String username)
	{
		AID aid = new AID();
		
		aid.setName(username+PLATFORM_NAME);
		aid.addAddresses(URL);
		
		return aid;
	}
}
